package br.com.mmm.javacenter.framework.reflection.injectors;

import br.com.mmm.javacenter.framework.annotations.InjectorComponent;
import br.com.mmm.javacenter.framework.reflection.ReflectionFacade;

@InjectorComponent(String.class)
public class StringInjector implements Injector{
	public void inject(ReflectionFacade rf,String field, Object value) {
		if(value!=null){
			rf.set(field, value.toString());
		}
	}

}
